package com.zhuhjay.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuhjay.domain.entity.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhuhjay
 * @since 2022-04-02
 */
public interface SetmealMapper extends BaseMapper<Setmeal> {

    void addRelationAndCheckgroup(@Param("setmealId") Integer setmealId, @Param("checkgroupId") Integer checkgroupId);

    Setmeal findAllAndCheckGroup(Integer id);

    List<Map<String, Object>> findHotSetmeal();
}
